using System;
namespace Servlets.Exceptions
{
	public class OutputStreamAlreadyStartedException : ServletException
	{
		public OutputStreamAlreadyStartedException () : base("Response's output stream already started. You cannot change any outbound properties after the output stream has started writing")
		{
		}
		
		public override Api.HttpStatus StatusCode {
			get {
				return Servlets.Api.HttpStatus.STATUS_500_INTERNAL_SERVER_ERROR;
			}
		}
	}
}

